# Description: Tox protokolü üzerinden tünel TCP bağlantıları
# URL: http://tuntox.pl/
# Packager: milisarge
# Depends on: cscope toxcore

name=tuntox
version=git
release=1

source=(shared-build.patch)
build() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$name.git ];then
	git clone https://github.com/gjedeer/$name.git
else
	cd $DERLEME_KAYNAKDIZIN/$name.git
	git pull
	cd -
fi
cd $name
patch -p1 -i ../shared-build.patch
make
install -Dm755 tuntox "$PKG/usr/bin/tuntox"
}
